<template>
  <div class="item">
    <img :src="singer.picUrl" alt="" />
    <div class="name">
      {{ singer.name }}
      <i class="el-icon-s-custom"></i>
    </div>
  </div>
</template>

<script>
export default {
  name: "Singeritem",
  data() {
    return {};
  },
  props: {
    singer: { type: Object },
  },
};
</script>

<style scoped lang="less">
.item {
  width: 201px;
  height: 261px;
  img {
    width: 100%;
    height: 176px;
  }
  .name{
      position: relative;
      padding-left: 10px;
      .el-icon-s-custom{
          margin-right: 0;
          position: absolute;
          top: 0;
          right: 0;
      }
  }
}
</style>